REST PostClient Node
The REST PostClient Node
gets a trigger to the Input Port
, requests REST API Server
, sends data to the REST API Server
, and transmits respond to the Output Ports
.
The REST PostClient Node
gets an event of any data type to the trigger
Input Port
to send a request.
The Node has the following General
and Input
Configuration Parameters
:
uri
(obligatory). Insert thedefault uri
of theREST API Server
to theGeneral
Configuration Parameters. IfREST PostClient Node
getsoptional uri
to theInput Ports
the defaulturi
is ignored.headers
(optional). Empty by default. Gets configurations as aJSON object
. Is used to configure authorization, session, cookie, etc. If theREST PostClient Node
getsoptional header
to theInput Ports
the configuration parameters from the defaultheader
andoptional header
are joined.data
(optional). Empty by default. Gets params as aJSON object
. Is used to send data to theREST API Server
. If theREST PostClient Node
getsoptional data
to theInput Ports
the configuration parameters from the defaultdata
andoptional data
are joined.code
(optional). Missing by default. The additional parameters can be transmitted to theInput Ports
by clicking+
button and adding data of any type.
The Node has the following Output Ports
:
body
. The Port gets and transmits the respond of theREST API Server
. The data type of theOutput Port
can bestring
orobject
depending on theheaders["Content-Type"]
in the respond of theREST API Server
.header
(optional). The Port gets and transmits theheader
as aJSON object
. The Port gets and transmits the header of the respond of theREST API Server
.status
(optional). The Port gets and transmits thestatus
code of theREST API Server
respond as aninteger
number, ex.200, 201, 400, 500
has_error
. The Port gets and transmits theboolean
valueTrue
if there is an error while requesting theREST API Server
, orFalse
if theREST API Server
gets request without an error.